import { get } from "$lib/utils"; import { redirect } from "@sveltejs/kit"; export const load = async ({ params: { code } }) => { let user; try { user = await get(`/verify/${code}`); } catch (e) { console.log(e); return { error: "Verification failed" }; } redirect(307, "/settings/account?verified=true"); }; plication/atom+xml'/>
aboutsummaryrefslogblamecommitdiffstats
path: root/tools/noffer-test.js
blob: 152ef0b12154d068bdb93ad90fc4d44d359be9e9 (plain) (tree)